SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '507d5f45699df064d2ded6239adf70ea9910f1160560bf9c0972b95dc15f2d36' 
  AND token = 'HW//2troHCKOodHUBwBUHgNTx2mQa0tV50Z19MAhsbc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00047

JSON explain

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