SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '2c187743be33cb99b1a502b3b748830dd2e01136843b6d91020fb417ae9035fa' 
  AND token = 'ke6Ty8P0/xy0lkO2DuR/F75vkTE40mXeVKgYmdAo9DU=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00034

JSON explain

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