SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '7017b42ca9b0519685359b20ee13c9b899902297e04ac370dc70c6fe88b5be64' 
  AND token = 'b1bb/JjMTFFpfyGCS3Lq+OOoiENxr4uf6y+bSWuZnT4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00024

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}