SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd1fb1e5a28868c5701e3cfb735308c84c6228b9e47f50da6912b02b4594580fc' 
  AND token = 'ncY+rxJUep2aAJY7dttFQkHpwn8y5x9/p+Zu+2b2aC4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00024

JSON explain

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