SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '3795be6e67b073a8d8b7d7436c5aeb9155a6fe4881a4284d16f5df7284bb0b8d' 
  AND token = 'f2Cks2LVWFICKjbi6Wbs+ym/B17rPWXssxyrd8TLYZk=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00022

JSON explain

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