SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'bab381b3b99cb2914a0e59124dccd269e3af3bee4bd881811271612b45a33837' 
  AND token = 'd6UJFB+whG9UvXwsmZpHklnE8EIgL9mXu10D5c4F7D0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00036

JSON explain

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