SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'afd138f98e0f37b4f4ac91a0147cf5bfd50f08bfc542b298d603e191389b0390' 
  AND token = 'T6xVBg48Oh7RHJBet7nNaeuApuSI+vfLxYR49SyxOwM=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00027

JSON explain

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