SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '40661c02049ba6c9039b35a560b894b2ca383414ef888b0bbda93c49f6706fe1' 
  AND token = 'z7ebYjducDXL36jI13/ZUDBVtWF7nX6i3xDy1ixHKCo=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00024

JSON explain

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