SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd17f6717bc5d93280fba3fdd0b3ab27466c68059f9323d984e089c67086641fc' 
  AND token = 'rtmiwg/mpuAyNHfNqXr9uxMX4mo/GBg9nVCfMKc7cM4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00014

JSON explain

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