SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '5f125701ab0c7f24140a3008b922c0375d06276eb5707f977ae9aa3b057a2479' 
  AND token = '50oGwfROSM3ITsqem+53RGVEmQaxTvpgWbXggomSyM8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00022

JSON explain

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