SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '0f50971ab3d1ce7a0dc166ea51f5ba2447bf8453ace2674cdd7a9d5c81ce6d88' 
  AND token = 'pVSF/gM7XCCV1IOqFUTy6z9vUu5lyucuj1T84d/G4yw=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00040

JSON explain

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