SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '50e9a830b7675f632579788d3e3545b842dbf5deaf8f7d4774fe6eddc1eb4db7' 
  AND token = 'yrBAxBg7Bv/HPgv0ecrF8hrLNM/3HleVeFMFfiHd2nA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00043

JSON explain

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