SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'df0295787ed5c4c8396cdee936b45fdcee25545673de5da8c0505e2080961122' 
  AND token = 'andydr/NGVG0itkWJzoVmSnEij8Vh2pxgoi7wSGHe5w=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00039

JSON explain

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