SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'f4ea15165959a535f975bd3bb9affcc6682623e19704350bc1617236f084c651' 
  AND token = 'Ny2YZetjA0feukmyj5PhAHcP0GOl36LU1a12VrNua1M=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00019

JSON explain

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