SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '629abad05e95ea0b5ba184ddbe0977e2a9b89c26b881a6c28249675b823de38f' 
  AND token = 'oLFMfEsmojzu2MSbf3mAHB3N3UvKYPowFFSRT9ebFko=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00026

JSON explain

{
  "query_block": {
    "select_id": 1,
    "table": {
      "message": "Impossible WHERE noticed after reading const tables"
    }
  }
}