SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '3ec1fd0e2e7ea94bcd99c13dfdfc6784d6346c458becaf525a8c6eecec5af964' 
  AND token = '8aE4g80jjLLSqZ6Bid6Mb4td2YMHc2MbXiWjte1DzLo=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00016

JSON explain

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