SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '4afef5c8af9d61e30b1c34b14929383b78fc59823332176783fdc04b627597c5' 
  AND token = 'vlqTZiqqqwJLMEKUoM3vMA1de9mZbtftgs+CU8hqsPo=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00041

JSON explain

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