SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '364479e5dd65bb637a31171f69112542ef7560c721e8462fe66a2824d0b70d82' 
  AND token = '25JDNd0Egxv5bjhHcBHNm6f4kGgD0zTeyBAaemmrXa8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00032

JSON explain

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