SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '7bc2a22d9d2f5458ca2bf9e4fe28252254d4323df7e2a8aaee6b1be213b308d6' 
  AND token = 'lnMdZ5k0rwHPBhmWDL+q2bQP3UiYhAX9zVYwNT3FDcE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00046

JSON explain

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