SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'f5a40f1ebe4b1b35cc9028729405f31bc5e3d5eaca6ced76c8779635aa218bbe' 
  AND token = 'a+eGa3l7FdJ1mWughRETcrLr+XjOwcf2xks+TS0SfAo=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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