SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '309178c68883ccc53283dffa928f3a743c96a5924922aef6554468db55f6d34a' 
  AND token = 't7xChxUK9LN+ZKP885cbnetQWZtr4p3BzFgQ+8j/4IE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00017

JSON explain

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