SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '09da81a1228ad4b013733f4c7ce773426bf597af98990492e91840387bef47be' 
  AND token = 'i4IafHv4Sby0v1i1p11D1abmVfTYiUPX7spsHBhln04=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00025

JSON explain

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