SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '6269ac5c51eb46c43a7a1c52db2cca9a09f14f809fbb5ae7432fbc16436dfb87' 
  AND token = 'rryP4OFxAd8FXniGL6kyI1DZ/wOpEnHYXdYtn14fqz0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00024

JSON explain

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