SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '80519280a73071b34c6f0de71f1d231c3baa3a2bbea48410c61fb93a8ca0e194' 
  AND token = '7CKyK94UGSKBsPmhnHkuPEoMG2KNEmJ6q+3dUClYG5M=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

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