SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '31cba77cae7135ae4d5a0235d2ff942d9871550c66834836c5890efe512ab3fe' 
  AND token = '52GdoCiB0A4Ma/b6wKwoP1Ce/N9kfvKTslEPlRYa51c=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00033

JSON explain

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