SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'f7acc0228f211a2b66c7d470269152dc41056fc2fde7d44f1fd5047fb3923ca9' 
  AND token = 'iZKJCOuEEth3ZZsB0xtrYnqe9BmxKC/2a4Wasu7YqlA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00023

JSON explain

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