SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'bf270b6259ed320ea1e13db61a1479398585500161581c1b6b2383972e607180' 
  AND token = '+2o4ur1NBQDi85ehvtWPfulCwo49CnNseIaG7h2G/GA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00038

JSON explain

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