SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '2dac30c1847c8b48a9bf69d9d4246d45ed0590d33b5bc323182863d6c343a1c0' 
  AND token = 'r20Mj0H9rv/jGvSRv6JzTLCKnWkwE7RfrHbovS+OFP0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00018

JSON explain

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