SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '7bb8309af559534d68ef569fe9b830f29eb1ea2e13518932920669f7600c6e9e' 
  AND token = 'yfPlUihmT8A7wxR41ecgFUdM+G8gSfsmM2SLH9RiQNo=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00045

JSON explain

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